package com.xq.tmall;

import com.xq.tmall.agu.job.ITimerJob;
import com.xq.tmall.util.EhcacheUtil;
import com.xq.tmall.util.ITimeJobFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@EnableTransactionManagement
@EnableCaching
@PropertySource("classpath:application.properties")
@SpringBootApplication
@EnableScheduling
public class TmallApplication {

    public static void main(String[] args) {
        SpringApplication.run(TmallApplication.class, args);
    }

}
